/* CSS Document */

/* for this demo only */
#backgroundHolder {
width:56px;
margin:0 auto;
 padding: 0 20px;
 position:absolute; 
 left:115px;
 top:21px;
 
 
}

#page {
width:500px;  
 padding: 0 20px;
 position:absolute; 
 right:15px; 
 
    
}
/* ----------------------------------------------------------------------------	*/
/* default styling */
.nav, .nav ul { list-style-type:none; margin:0; padding:0; }
.nav a { text-decoration:none; }
.nav { font-family: arial, sans-serif; font-size:12px; width:650px; margin:0 auto; }
/* style the links */
.nav a { background:url(img/bg_buttons.png) no-repeat right center; }
.nav a.top { background:url(img/bg_buttons.png) no-repeat right top; }
.nav a.top2 { background:url(img/bg_buttons.png) no-repeat right top; }
.nav a.bottom { background:url(img/bg_buttons.png) no-repeat right bottom; }
.right ul ul a { background:url(img/bg_buttons.png) no-repeat right center; }
.right ul ul a.top2 { background:url(img/bg_buttons.png) no-repeat right top; }
.right ul ul a.bottom { background:url(img/bg_buttons.png) no-repeat right bottom; }

/* Button Styling */
/*	
	.btn, .btnalt {background: url(img/bg_buttons.png) repeat-x top; border: 1px solid #0D87AE!important; color: #fff; font-size: 11px; padding: 7px 10px; boirder-radius: 7px; -moz-border-radius: 7px; font-weight: 700; border: none;}
		.btn:hover {background: url(img/bg_buttons.png) 0 -50px; border: 1px solid #005977; cursor: pointer;}*/


/* style the <b> element so that is does not affect the size of the link */
.nav a b { color:#fff; font-weight:normal; display:block; padding:5px 10px 5px 15px; }
.nav a b {background: url(img/bg_buttons.png) 0px 90px; border: 1px solid #0D87AE!important; font-size: 11px; padding: 6px 10px; boirder-radius: 7px; -moz-border-radius: 7px; font-weight: 700; 
text-shadow: none;
text-align: start;

 }

.nav a b:hover {background: url(img/bg_buttons.png)  0 -50px; border: 1px solid #005977; cursor: pointer;color:#fff; display:block;}



.nav .fly .main b { background: url(img/bg_buttons.png)  0px 90px; }
.nav .down b { background: url(img/bg_buttons.png)   0px 90px; }
.nav .right ul b {text-align:center;}*/
/*.nav .right ul ul b { padding: 5px 15px 5px 10px; }*/

.nav .right ul .main b { background: url(img/bg_buttons.png)  15px 9px; text-align:center; }
.nav .right ul ul .main b { background: url(img/bg_buttons.png)  5px 9px; text-align:center;}

/* HEIGHT */
.nav ul ul { top:-24px;  } /* position the top of the flyout first sub menus */
.nav ul ul ul { top:-25px;  } /* position the top of the flyout second and third sub menus */
.nav ul.two { top:-40px;  } /* position the top of the flyout sub menus with previous text on two lines */
/* WIDTH change this WITH CARE to suit your requirements */
 
/*set the link width here*/
.nav .drop, .nav a { width:90px; }
.nav ul li { max-width:80px; }/* fix for IE8 */
/* set the left flyout position here */
.nav ul ul { left:80px;  }
/* set the right flyout position here */
.nav li.right ul ul { left:auto;}/* right:120px; }*/
.nav li.right ul ul ul { left:auto;}/* right:130px; }*/
/* make this WIDTH - 1px */ /* or WIDTH - 0.063em if using em sizing */
.nav a { margin-right:-89px; }
/* ----------------------------------------------------------------------------	*/
 
/* DO NOT CHANGE ANYTHING BELOW */
.nav li { float:left; } /* fixes IE bugs, and allows for clearing */
.nav ul { float:left; position:relative; z-index:20; } /* necessary for float drop and to stack the <ul>s */
.nav ul li { clear:left; } /* must clear the floated list item inside sublist */
.nav a { position:relative; display:block; } /* needs to have a position, to be above the rest */
.nav a.main { float:left; /* necessary for float drop */ margin-top:10000px; } /* bring the top level links back into view */
.nav .drop, .nav .fly { margin-top:-10000px; } /* hide the sub links and their containers, opera has low upper limits */
.nav ul { margin-bottom:-5000px; } /* avoid any interaction between the subs, can be any large size */
/* The bit that does ALL the work to bring the sub menus into view */
 
.nav a:hover, .nav a:focus, .nav a:active { margin-right:0; z-index:10; outline:0; }
.nav a:hover b, .nav a:focus b, .nav a:active b { color:#fff; cursor:pointer; } /* this is for keyboard tabbing color change */
/* OPERA fix */
.nav ul:hover, .nav ul ul:hover { clear:left; } /* to stop intermittent sub link :hover problems */
 
/* ----------------------------------------------------------------------------	*/
</style>
[if lte IE 7]>
<style type="text/css">
/* bug fixes for IE7 and lower - DO NOT CHANGE */
.nav .fly {width:99%;} /* make each flyout 99% of the prevous level */
a:active {} /* requires a blank style for :active to stop it being buggy */
</style>
<![endif]
